tweaking amazon associate mode code with php?

tweaking amazon associate mode code with php?

am 21.01.2008 13:10:58 von atwiawomo

Hi

I'm playing with a bit of php code to generate a list of amazon
associate products in an iframe:

$keywords = array(
"dslr", "lens", "canon", "nikon","nikkor", "sigma", "flash", "tripod",
"camera", "sandisk", "speedlite"
);
$search = $keywords[rand(0,count($keywords)-1)];
if ($country == "GB")
{
print "";
}
?>

The section "&mode=electronics-uk" will bring up results from the
Amazon UK category "Electronics".
I don't want to limit the category just to "Electronics". I want the
results to come from all the categories, so from:
"kitchen-uk baby-uk books-uk electronics-uk apparel-uk" and so
on.

Apart from selecting the mode (category) randomly as i do with the
keyword above, is there a way I can set the mode to all? and show a
few products across different categories?

Many thanks if anyone can help

Mr M

Re: tweaking amazon associate mode code with php?

am 21.01.2008 14:24:36 von Jerry Stuckle

Atwiawomo wrote:
> Hi
>
> I'm playing with a bit of php code to generate a list of amazon
> associate products in an iframe:
>
> > $keywords = array(
> "dslr", "lens", "canon", "nikon","nikkor", "sigma", "flash", "tripod",
> "camera", "sandisk", "speedlite"
> );
> $search = $keywords[rand(0,count($keywords)-1)];
> if ($country == "GB")
> {
> print "";
> }
> ?>
>
> The section "&mode=electronics-uk" will bring up results from the
> Amazon UK category "Electronics".
> I don't want to limit the category just to "Electronics". I want the
> results to come from all the categories, so from:
> "kitchen-uk baby-uk books-uk electronics-uk apparel-uk" and so
> on.
>
> Apart from selecting the mode (category) randomly as i do with the
> keyword above, is there a way I can set the mode to all? and show a
> few products across different categories?
>
> Many thanks if anyone can help
>
> Mr M
>

Well, let's see. You're trying to figure out how to do something with
Amazon. You need to figure out how to do it on their site.

Might I suggest the people to as are - Amazon?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

Re: tweaking amazon associate mode code with php?

am 21.01.2008 15:58:17 von atwiawomo

>
> Well, let's see. You're trying to figure out how to do something with
> Amazon. You need to figure out how to do it on their site.
>
> Might I suggest the people to as are - Amazon?
>

Hi Jerry

Asked they were (several times) with the expected android reply each
time.

Thanks

Mr M